/**
 * Created by GYL on 2018/7/25
 */
import React, { Component } from 'react';
import { Tabs } from 'antd';
import BlabDay from './tab/BlabDay';
import BlabHistory from './tab/BlabHistory';
import style from './BlabVideo.less';
const TabPane = Tabs.TabPane;
class BlabVideo extends Component {

    render() {

        return (
            <div className={style.wrap}>
                <Tabs defaultActiveKey="1" size="small" >
                    <TabPane tab="实时数据" key="1">
                        <BlabDay
                            history={this.props.history}
                        />
                      
                    </TabPane>
                    <TabPane tab="历史数据" key="2">
                        <BlabHistory
                            history={this.props.history}
                        />
                       
                    </TabPane>
                   
                </Tabs>
            </div>
        )
    }
}
export default (BlabVideo);
